package com.myl.service.store;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.myl.domain.store.Course;

public interface CourseService {

	//增删改查
	   void save(Course course);
	   
	   void delete(Course course);
	   
	   void update(Course course);
	   
	   Course findById(String id);
	   
	   List<Course> findAll();
	   
	  /* List<Course> findAll(int page, int size); */
	   //分页查找
	   PageInfo  findAll(int page,int size);
}
